package com.nine.service;

import static org.junit.Assert.*;

import java.sql.Timestamp;

import org.junit.Test;
import com.nine.entity.Comment;
import com.nine.entity.CommentId;

import antlr.collections.List;

public class CommentServiceImplTest {

	@Test
	public void testUploadComment() {
		fail("Not yet implemented");
	}

	@Test
	public void testViewCommentsOfItemExecute() {
		//fail("Not yet implemented");
		CommentServiceImpl comment = new CommentServiceImpl();
		//Comment c = new Comment(1, 'luoduoduo', '2011-12-01 00:00:00', 3, '',CommentId cid);
		//comment.
		List list = null;
		list.add(comment);
		
		assertEquals(comment,comment.viewCommentsOfItemExecute(1));
	}

}
